package com.huiyuan.vo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author huiyuan080
 * @data 2023/5/2
 * @apiNote
 */
@Builder
@Data
@AllArgsConstructor
@NoArgsConstructor
public class OrderVo implements Serializable {
    /**
    * 订单id
    */
    private Integer id;

    /**
    * 用户id
    */
    private Integer userId;

    /**
    * 车辆id
    */
    private Integer bikeId;

    /**
    * 开始租车时间
    */
    private Date createTime;

    /**
    * 还车时间
    */
    private Date endTime;

    /**
    * 租车金额 
    */
    private BigDecimal price;


    /**
     * 用户积分
     */
    private Integer userIntegral;

    private static final long serialVersionUID = 1L;


}